package com.imooc.respository;

import com.imooc.domain.Girl;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by ancy on 2017/7/8.
 */
public interface GirlsRespository extends JpaRepository <Girl,Integer> {
    // 通过年龄查询
    public List<Girl> findByAge(Integer age);
}
